<?php
namespace app\index\model;
use think\Model;
use think\Db;

class Common extends Model
{
    # 注册协议
    public static function getRegText()
    {
        $data =  self::where('param','regtext')->find();
        if ($data) {
            return $data['content'];
        }
        return '';
    }

    # 注册协议
    public static function getHelp()
    {
        $data =  self::where('param','help')->find();
        if ($data) {
            return $data['content'];
        }
        return '';
    }


}
